/**
 * Copyright (C), 2015-2019, 静修教育咨询有限公司
 * FileName: ChitchatMapper
 * Author:  SAGIRI
 * Date:     2019/7/24 0024 11:38
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.ruimei.mapper;

import com.ruimei.entitys.ParentAndStudent;
import com.ruimei.entitys.Student;
import com.ruimei.entitys.Teacher;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 〈概要〉<br> 
 * 〈〉
 *
 * @author SAGIRI
 * @create 2019/7/24 0024
 * @since 1.0.0
 */
@Repository
public interface ChitchatMapper {
    /**
     * 根据学生列表拉取家长列表
     * @param studentList
     * @return
     */
    List<ParentAndStudent> selectParentList(List<String> studentList);

    /**
     * 查询老师名字
     * @param teacherList
     * @return
     */
    List<String> selectTeacherName(List<String> teacherList);

    String selectRelation(@Param("parentId") String parentId,@Param("studentId") String studentId);

    List<Teacher> getTeacherByClassId(String classId);
}
